package cn.javass.dp.strategy.mydemo1;

import java.math.BigDecimal;

public class DistributionCosts implements CalcStrategy {

    private double weight;

    private double volume;

    private String lat;

    private String lng;

    private String address;

    private String type;

    public DistributionCosts(double weight, double volume, String lng, String lat,  String address) {
        this.weight = weight;
        this.volume = volume;
        this.lat = lat;
        this.lng = lng;
        this.address = address;
    }

    @Override
    public BigDecimal calcCosts() {
        return BigDecimal.ONE;
    }



}
